#7-4 生成随机密码【组合数据类型】
from random import *
seed(0x1010)
str1= 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!@#$%^&*'
excludes = ''
ls=[]
while len(ls) < 10:
    pwd = ''
    for i in range(10):
        pwd += choice(str1)
    if pwd[0] in excludes:
        continue
    else:
        ls.append(pwd)
        excludes += pwd[0]
for i in ls:
     print(i)
